package top.shiyiri.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Aunean
 * @date 2022/1/19 17:02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor

public class Student {

    private int FlowID;
    private int Type;
    private String IDCard;
    private String ExamCard;
    private String StudentName;
    private String Location;
    private int Grade;

    @Override
    public String toString() {
        System.out.println("查询结果：");
        return "序列号：" + FlowID + "\n四/六级：" + Type + "\n身份证号：" + IDCard + "\n准考证号：" + ExamCard
                + "\n学生姓名：" + StudentName + "\n区域：" + Location + "\n成绩：" + Grade;
    }
}
